<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>J</title>
  <script src="https://cdn.bootcss.com/tesseract.js/1.0.10/tesseract.min.js"></script>
</head>
<body>
  
  <script>
    console.log(Tesseract.recognize)
    Tesseract.recognize('./j_test.png')
      .progress(message => console.log(message))
      .catch(err => console.error(err))
      .then(result => console.log(result))
      .finally(resultOrError => console.log(resultOrError))
  </script>
</body>
</html>